package com.wshare.controller;

import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;

import org.apache.log4j.Logger;
import org.hibernate.annotations.common.util.impl.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;

@Controller
public class FileUploadController {
	
	@RequestMapping("/fileupload/index")
	public String index(){
		
		return "fileUploadIndex";
	}
	
	@RequestMapping("/fileupload/multi")
	public String multi(){
		
		return "fileUploadMulti";
	}
	
	
	@RequestMapping("/fileupload/uploadajax")
	public String uploadajax(){
		
		return "fileUploadAjax";
	}
}
